package a.f.h.d;

import a.c.e;
import a.c.w;
import a.f.h.b.f;
import a.f.o;
import a.i.n;

class v
  implements y
{
  private f a;
  private int b = 0;
  private int c;
  private int d;
  
  public v(int paramInt)
  {
    this.c = paramInt;
  }
  
  public boolean a()
  {
    return false;
  }
  
  public void a(f paramf)
  {
    int i = j.r;
    boolean bool = j.q;
    n.a(this, "Kandinsky Node Model !");
    this.a = paramf;
    this.d = 1;
    o localo = (o)paramf.a();
    w localw = paramf.a().v();
    do
    {
      if (!localw.e()) {
        break;
      }
      e locale = localw.d();
      if ((i == 0) && (bool)) {
        return;
      }
      if (i == 0)
      {
        if (paramf.d(locale))
        {
          localo.b(localw.d(), this.c * 1.5D, this.c * 1.5D);
          int[][] arrayOfInt = paramf.l(locale);
          this.d = Math.max(this.d, arrayOfInt[0][0]);
          this.d = Math.max(this.d, arrayOfInt[1][0]);
          this.d = Math.max(this.d, arrayOfInt[2][0]);
          this.d = Math.max(this.d, arrayOfInt[3][0]);
          this.d = Math.max(this.d, arrayOfInt[0][2]);
          this.d = Math.max(this.d, arrayOfInt[1][2]);
          this.d = Math.max(this.d, arrayOfInt[2][2]);
          this.d = Math.max(this.d, arrayOfInt[3][2]);
        }
        localw.f();
      }
    } while (!bool);
    if (i == 0) {
      this.b = 2;
    }
  }
  
  public boolean a(e parame)
  {
    return this.a.d(parame);
  }
  
  public int c(e parame)
  {
    return this.b;
  }
  
  public int d(e parame)
  {
    return this.b;
  }
  
  public boolean b(e parame)
  {
    return a(parame);
  }
  
  public double b()
  {
    return 2 * this.d;
  }
  
  public int c()
  {
    return 2;
  }
  
  public boolean d()
  {
    return true;
  }
  
  public int e(e parame)
  {
    return this.d;
  }
  
  public int f(e parame)
  {
    return this.d;
  }
  
  public void e() {}
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.h.d.v

 * JD-Core Version:    0.7.0.1

 */